<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">











<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>NPanday :: Visual Studio Addin Installer Maven Plugin - </title>
    <style type="text/css" media="all">
      @import url("../css/maven-base.css");
      @import url("../css/maven-theme.css");
      @import url("../css/site.css");
    </style>
    <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
      </head>
  <body class="composite">
    <div id="banner">
                    <span id="bannerLeft">
    
            NPanday :: Visual Studio Addin Installer Maven Plugin
    
            </span>
                    <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="breadcrumbs">
          
  

  
    
  
  
    
            <div class="xleft">
        Last Published: 2010-01-21
                      </div>
            <div class="xright">            <a href="http://incubator.apache.org/projects/npanday.html" class="externalLink">Project Site</a>
            |
                <a href="http://incubator.apache.org/npanday" class="externalLink">NPanday</a>
            |
                <a href="http://svn.apache.org/repos/asf/incubator/npanday/" class="externalLink">NPanday SVN</a>
            |
                <a href="http://maven.apache.org/" class="externalLink">Maven</a>
            |
                <a href="http://www.mono-project.com/" class="externalLink">Mono Project</a>
            |
                <a href="http://dotgnu.org/" class="externalLink">DotGNU</a>
            
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="leftColumn">
      <div id="navcolumn">
           
  

  
    
  
  
    
                   <h5>Overview</h5>
            <ul>
              
    <li class="none">
                    <a href="../index.html">Introduction</a>
          </li>
              
    <li class="none">
                    <a href="../plugin-info.html">Goals</a>
          </li>
              
    <li class="none">
                    <a href="../usage.html">Usage</a>
          </li>
          </ul>
              <h5>Examples</h5>
            <ul>
              
    <li class="none">
              <strong>Install From File System</strong>
        </li>
              
    <li class="none">
                    <a href="../examples/install-from-remote-repo.html">Install From Remote Repo</a>
          </li>
          </ul>
              <h5>Project Documentation</h5>
            <ul>
              
                
              
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="../project-info.html">Project Information</a>
                </li>
              
                
              
      
            
      
              
        <li class="collapsed">
                    <a href="../project-reports.html">Project Reports</a>
                </li>
          </ul>
                                           <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
            <img alt="Built by Maven" src="../images/logos/maven-feather.png"></img>
          </a>
                       
  

  
    
  
  
    
        </div>
    </div>
    <div id="bodyColumn">
      <div id="contentBox">
        <div class="section"><h2>Install From File System</h2>
<p>First, make sure that the repository containing the NMaven assembliies and vsinstaller is located on your local file system. Typically, you would only do this for testing or for installing from a non-standard repo location. Next, configure your settings.xml file to point to your repo.</p>
<div class="source"><pre>&lt;settings&gt;
  &lt;profiles&gt;
    &lt;profile&gt;
      &lt;id&gt;nmaven.snapshots&lt;/id&gt;
      &lt;repositories&gt;
        &lt;repository&gt;
          &lt;id&gt;local&lt;/id&gt;
          &lt;name&gt;Maven Plugin Snapshots&lt;/name&gt;
          &lt;url&gt;file://C:\m2\repo&lt;/url&gt;
          &lt;releases&gt;
            &lt;enabled&gt;true&lt;/enabled&gt;
          &lt;/releases&gt;
          &lt;snapshots&gt;
            &lt;enabled&gt;true&lt;/enabled&gt;
          &lt;/snapshots&gt;
        &lt;/repository&gt;
      &lt;/repositories&gt;
      &lt;pluginRepositories&gt;
        &lt;pluginRepository&gt;
          &lt;id&gt;local&lt;/id&gt;
          &lt;name&gt;Maven Plugin Snapshots&lt;/name&gt;
          &lt;url&gt;file://C:\m2\repo&lt;/url&gt;
          &lt;releases&gt;
            &lt;enabled&gt;false&lt;/enabled&gt;
          &lt;/releases&gt;
          &lt;snapshots&gt;
            &lt;enabled&gt;true&lt;/enabled&gt;
          &lt;/snapshots&gt;
        &lt;/pluginRepository&gt;
      &lt;/pluginRepositories&gt;
    &lt;/profile&gt;
  &lt;/profiles&gt;
&lt;/settings&gt;</pre>
</div>
<p>Due to a bug in Maven, if you are remotely resolving a plugin that doesn't exist in central, you will need to install from a directory containing a pom.xml file. So if you have a pom.xml handy, goto that directory from the command line. If not, you will need to download one and goto to the download directory from the command line. Now type the following from the command line:</p>
<div class="source"><pre> mvn org.apache.maven.dotnet.plugins:maven-vsinstaller-plugin:install</pre>
</div>
</div>

      </div>
    </div>
    <div class="clear">
      <hr/>
    </div>
    <div id="footer">
      <div class="xright">&#169;  
          2010
    
          NPanday
          
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
  </body>
</html>
